<?php View::display('technic/menu');?>
<?php $article = $params['article'];?>
<header class="head">
	<!-- ."main-bar -->
	<div class="main-bar">
		<div class="container-fluid">
			<div class="row-fluid">
				<div class="span12">
					<h3>
						<i class="icon-wrench"></i> บทความ
					</h3>
				</div>
			</div>
			<!-- /.row-fluid -->
		</div>
		<!-- /.container-fluid -->
	</div>
	<!-- /.main-bar -->
</header>
<!-- /.head -->
<!-- #content -->
<div id="content">
	<!-- .outer -->
	<div class="container-fluid outer">
		<div class="row-fluid">
			<!-- .inner -->
			<div class="span12 inner">
				<!--Begin Datatables-->
				<div class="row-fluid">
					<div class="span12">
						<div class="box">
							<header>
								<h5>แก้ไขบทความ</h5>
							</header>
							<div class="body">
								<form class="form" method="post" style="margin: 0 auto; width: 600px;">
									<fieldset>
										<label>หัวข้อ</label>
										<input type="text" name="title" value="<?php echo $article['title'];?>" />
										<!-- 
										<label>icon</label>
										<input type="file" name="icon" />
										 -->
										<label>คำบรรยาย</label>
										<input type="text" name="description" value="<?php echo $article['description'];?>" />
										<label>เนื้อหา</label>
										<textarea rows="" cols="" name="detail" class="input-block-level"><?php echo $article['detail'];?></textarea>
									</fieldset>
									<button type="submit" class="btn">submit</button>
								</form>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>